package cn.hxth.cloud.service.service;

import cn.hxth.cloud.api.domain.ProductionOrder;
import cn.hxth.cloud.service.commons.config.FeignClientConfig;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value="CHECK-PROVIDER",configuration=FeignClientConfig.class)
@RequestMapping("/check/")
public interface CheckService {
    @PostMapping("insertCheckOrder")
    public  Boolean insertCheckOrder(@RequestBody ProductionOrder productionOrder) ;
}
